package com.gxa.web_admin.common;


import com.gxa.common.vo.ResultVo;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created with IntelliJ IDEA.
 * User: zls
 * Date: 2021/12/26 16:01:50
 * Description:
 * Version: V1.0
 */
//@ControllerAdvice
//public class AffairExcpetionAddvice {
//
//    @ExceptionHandler(Exception.class)
//    @ResponseBody
//    public ResultVo Exception(){
//        ResultVo resultVo = new ResultVo();
//        resultVo.setCode(500);
//        resultVo.setMsg("系统开小差！");
//        return resultVo;
//    }
//}
